home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwat05.dir / 00064_Script_64 < prev    next >
Text File  |  1994-11-15  |  2KB  |  101 lines

  1. on startMovie
  2.   global nowFrame, lastFrame, currMM, reEntry, stepNow, dialogOn
  3.   global rolledAlready, thumbTrack, showText, switchState,jmpFrame
  4.   set dialogOn = FALSE
  5.   set stepNow = FALSE
  6.   set switchState = FALSE
  7.   set rolledAlready = FALSE
  8.   set showText = FALSE
  9.   set nowFrame = "atusa000000n°°"
  10.   set currMM = "FLWWW"
  11.   puppetSprite 10, TRUE
  12.   puppetSprite 21, TRUE
  13.   puppetSprite 22, TRUE
  14.   puppetSprite 23, TRUE
  15.   set the immediate of sprite 23 to TRUE
  16.   set the stretch of sprite 23 to FALSE
  17. end startMovie
  18.  
  19. on stepMovie
  20.   global nowFrame,currFrame
  21.   if nowFrame  <> currFrame then
  22.     seeAlsoList
  23.     set currFrame = nowFrame
  24.   end if
  25. end stepMovie
  26.  
  27. on stopMovie
  28.   set the castNum of sprite 21 to 1050
  29.   puppetSprite 21, FALSE
  30.   put " " into field "seeAlsoText"
  31.   updateStage
  32. end stopMovie
  33.  
  34. on saveLocals
  35.   global lastFrame, nowFrame, lastMovie
  36.   set lastFrame = nowFrame
  37.   set lastMovie = the movie
  38. end saveLocals
  39.  
  40. on buttonState
  41.   global FrankNav
  42.   global thumbTrack, thumbFrame, bflag, dialogOn
  43.   
  44.   if dialogOn = FALSE then
  45.     
  46.     glassCheck
  47.     
  48.     -- don't check global buttons unless mouse is down at bottom
  49.     if (the mouseV > 300) or (bFlag = TRUE) then
  50.       doState
  51.     end if
  52.   end if
  53. end buttonState
  54.  
  55. on atForStep
  56.   puppetSprite 8, FALSE
  57.   if the frame = 23 then
  58.     go to movie "FLWAT06"
  59.   else
  60.     go to marker(+1)
  61.   end if
  62.   updateStage
  63. end atForStep
  64.  
  65. on atBackStep
  66.   puppetSprite 8, FALSE
  67.   if the frame < 3 then
  68.     go to frame "at000bld099°°°" of movie "FLWAT04"
  69.   else
  70.     go to marker(-1)
  71.   end if
  72.   updateStage
  73. end atBackStep
  74.  
  75. on textRoll txHt
  76.   global origLocV, rolledAlready, topHat, horNess, dialogOn, SeeAlsoBox
  77.   if dialogOn = FALSE and SeeAlsoBox = FALSE then
  78.     set topHat = txHt
  79.     if rolledAlready = FALSE then
  80.       set origLocV = the locV of sprite 8
  81.     end if
  82.     
  83.     if the mouseH < 414 and the mouseV > 366 and the mouseV < 429 then
  84.       set the locV of sprite 8 to txHt
  85.       set rolledAlready = TRUE
  86.     else if the mouseH > 414 or the mouseV > 429 or the mouseV < topHat then
  87.       set the locV of sprite 8 to origLocV
  88.     end if
  89.   end if
  90. end textRoll
  91.  
  92. on glassCheck
  93.   if the frame < 157 then
  94.     if rollOver(10) then 
  95.       set the castNum of sprite 10 to 106
  96.     else
  97.       set the castNum of sprite 10 to 2
  98.     end if
  99.   end if
  100.   updateStage
  101. end glassCheck